package com.timguan.render.service.common;

import com.timguan.common.cache.common.Constants;

/**
 * Created by guankaiqiang on 2014/11/27.
 */
public class B2CMallConstants {
    public static final int B2C_PC_APPID = 1;
    public static final int B2C_H5_APPID = 3;
    public static final int B2C_IOS_APPID = 4;
    public static final int B2C_ANDROID_APPID = 5;
    public static final int PC_PAGE_TYPE = 0;
    public static final int H5_PAGE_TYPE = 1;
    public static final int APP_PAGE_TYPE = 2;
    //nginx ssi
    public static final String CMS_COMMON_HEADER = "_commonHeader";
    //nginx ssi
    public static final String CMS_COMMON_FOOTER = "_commonFooter";
    //页面数据入口
    public static final String CMS_COMMON_DATA = "_data";
    //资源前缀（通用资源的访问前缀 css js ,带版本号）
    public static final String CMS_CDN_DOMAIN_KEY = "_cdn_domain";
    public static final String CMS_BASE_RESOURCE_PREFIX_PLACEHOLDER = "${_baseResourcePrefix}";
    public static final String CMS_BASE_RESOURCE_PREFIX_PLACEHOLDER_REGEX = "\\$\\{_baseResourcePrefix\\}";
    public static final String CMS_COMMON_CSS_KEY = "_commonCss";
    public static final String CMS_COMMON_JS_KEY = "_commonJs";
    public static final String CMS_PC_COMMON_CSS_TPL =
            "<link href=\"" + CMS_BASE_RESOURCE_PREFIX_PLACEHOLDER + "/styles/webcommon.css\" rel=\"stylesheet\" type=\"text/css\"/>";
    //基础库引用
    public static final String CMS_PC_COMMON_JS_TPL =
            "<script src=\"" + CMS_BASE_RESOURCE_PREFIX_PLACEHOLDER + "/scripts/milkt.common.js\"></script>";
    //底部优先执行
    public static final String CMS_H5_COMMON_CSS_TPL =
            "<link href=\"" + CMS_BASE_RESOURCE_PREFIX_PLACEHOLDER + "/styles/h5common.css\" rel=\"stylesheet\" type=\"text/css\"/>";
    public static final String CMS_H5_COMMON_JS_TPL =
            "<script src=\"" + CMS_BASE_RESOURCE_PREFIX_PLACEHOLDER + "/scripts/milkt.common.js\"></script>";
    //    public static final String CACHE_CONF_FILE_LO = "/service-config.properties";
//    public static final String SERVICE_CACHE_STATIC_CONF_LO = "/service-cacheConfig.xml";
    public final static String GET_NATIVE_DATA = "getNativeData";
    public final static String GET_SUBDATA = "getSubMData";
}